package org.bean;

import java.util.Date;

/**
 * 通知
 * Created by fxf on 2018-1-9.
 */
public class NoticeDTO {

    /**
     * id
     */
    private int id;

    /**
     * create_date
     */
    private java.util.Date createDate;

    /**
     * modified_date
     */
    private java.util.Date modifiedDate;

    /**
     * 渠道
     */
    private int channel;

    /**
     * 渠道appId
     */
    private int channelAppId;

    /**
     * 序号
     */
    private int idx;

    /**
     * 类型
     */
    private int type;

    /**
     * 标签
     */
    private int tag;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;
    
    /**
     * 附加参数
     */
    private String param;

    /**
     * 图片
     */
    private String contextImg;

    /**
     * 开始时间
     */
    private java.util.Date startTime;

    /**
     * 结束时间
     */
    private java.util.Date endTime;

    /**
     * 间隔时间（单位：秒）
     */
    private int loopIntervalTime;

    public int getId() {
        return id;
    }

    public NoticeDTO setId(int id) {
        this.id = id;
        return this;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public NoticeDTO setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }

    public Date getModifiedDate() {
        return modifiedDate;
    }

    public NoticeDTO setModifiedDate(Date modifiedDate) {
        this.modifiedDate = modifiedDate;
        return this;
    }

    public int getChannelAppId() {
        return channelAppId;
    }

    public NoticeDTO setChannelAppId(int channelAppId) {
        this.channelAppId = channelAppId;
        return this;
    }

    public int getChannel() {
        return channel;
    }

    public NoticeDTO setChannel(int channel) {
        this.channel = channel;
        return this;
    }

    public int getIdx() {
        return idx;
    }

    public NoticeDTO setIdx(int idx) {
        this.idx = idx;
        return this;
    }

    public int getType() {
        return type;
    }

    public NoticeDTO setType(int type) {
        this.type = type;
        return this;
    }

    public int getTag() {
        return tag;
    }

    public NoticeDTO setTag(int tag) {
        this.tag = tag;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public NoticeDTO setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getContent() {
        return content;
    }

    public NoticeDTO setContent(String content) {
        this.content = content;
        return this;
    }
    
    public String getParam() {
        return param;
    }

    public NoticeDTO setParam(String param) {
        this.param = param;
        return this;
    }

    public String getContextImg() {
        return contextImg;
    }

    public NoticeDTO setContextImg(String contextImg) {
        this.contextImg = contextImg;
        return this;
    }

    public Date getStartTime() {
        return startTime;
    }

    public NoticeDTO setStartTime(Date startTime) {
        this.startTime = startTime;
        return this;
    }

    public Date getEndTime() {
        return endTime;
    }

    public NoticeDTO setEndTime(Date endTime) {
        this.endTime = endTime;
        return this;
    }

    public int getLoopIntervalTime() {
        return loopIntervalTime;
    }

    public NoticeDTO setLoopIntervalTime(int loopIntervalTime) {
        this.loopIntervalTime = loopIntervalTime;
        return this;
    }
}
